<!-- BEGIN PAGE HEADER-->
<div class="row-fluid">
    <div class="span12"> 
        <!-- BEGIN PAGE TITLE & BREADCRUMB-->		
        <h3 class="page-title">
            Iniciar Entrega
            <small>***</small>
        </h3>
        <ul class="breadcrumb">
            <li>
                <i class="icon-home"></i>
                <a href="<?php echo $this->baseUrl; ?>">Inicio</a> 
                <i class="icon-angle-right"></i>
            </li>
            <li>
                <a href="#">Iniciar Entrega</a>
            </li>
        </ul>
        <!-- END PAGE TITLE & BREADCRUMB-->
    </div>
</div>
<!-- END PAGE HEADER-->
<!-- BEGIN PAGE CONTENT-->
<div class="row-fluid">
    <div class="span12">
        <div class="portlet box blue">
            <div class="portlet-title">
                <h4><i class="icon-star"></i>Entrega de Auxilios</h4>
                <div class="tools">
                    <a href="javascript:;" class="collapse"></a>
                    <a href="javascript:;" class="remove"></a>
                </div>
            </div>
            <div class="portlet-body form">

                <APPLET codebase ="<?php echo $this->baseUrl;   ?>"
                        code="sisbiud/Autenticar.class" 
                        archive="sisbiud.jar,lib/dpfpenrollment.jar,lib/dpfpverification.jar,lib/dpotapi.jar,lib/dpotjni.jar,lib/json-simple-1.1.1.jar" 
                        WIDTH=800 
                        HEIGHT=400>
                </APPLET>

            </div>
        </div>
    </div>
</div>
<div class="portlet box blue">
    <div class="portlet-title">
        <h4><i class="icon-star"></i>Entrega de Auxilios</h4>
        <div class="tools">
            <a href="javascript:;" class="collapse"></a>
            <a href="javascript:;" class="remove"></a>
        </div>
    </div>
    <div class="portlet-body">
        <table class="table table-striped table-hover table-bordered" id="sample_1">
            <thead>
                <tr>
                    <th>Código</th>
                    <th>Nombres y Apellidos</th>
                    <th>Documento de identidad</th>
                    <th>Facultad</th>
                    <th>Carrera</th>
                    <th>E-mail</th>
                    <th>Auxilio</th>
                </tr>
            </thead>
            <tbody>
                <?php
                for ($i = 0; $i < count($this->estudiantes); $i++) {
                    $arrayTem = $this->estudiantes[$i];
                    echo "<tr onclick='agregarAsistencia(this)'>"; // 
                    echo "<td>" . $arrayTem["codigoEstudiante"] . "</td> ";
                    echo "<td>" . $arrayTem["nombres"] . " " . $arrayTem["apellidos"] . "</td> ";
                    //onclick="pedirDatos('".$row['idempleado']."')
                    echo "<td>" . $arrayTem["tipoDocIdentidad"] . " N° " . $arrayTem["nroDocIdentidad"] . "</td> ";
                    echo "<td>" . $arrayTem["nombreFacultad"] . "</td> ";
                    echo "<td>" . $arrayTem["nombreCarrera"] . "</td> ";
                    echo "<td>" . $arrayTem["email"] . "</td> ";
                    echo "<td><a class='label label-success' id='btnEntregarRepele' >Entregar<i class='m-icon-swapright m-icon-white'></i></a></td>"; //
                    //echo "<td><a class='label label-success' id='btnEntregarRepele' onclick='" . $arrayTem["codigoEstudiante"] . "' >Entregar<i class='m-icon-swapright m-icon-white'></i></a></td>";
                    
//echo '<td><span class = "label label-success">Entregar</span></td>';
                    echo '</tr>';
                }
                ?>
            </tbody>                     
        </table>
    </div>
</div>
</div>
</div>
<!-- END PAGE CONTENT-->

<script src="<?php echo $this->baseUrl; ?>/assets/js/jquery-1.8.3.min.js"></script>    
<script type='text/javascript' src='<?php echo $this->baseUrl; ?>/assets/js/entregarAuxilios.js'></script>

<script type='text/javascript'> 
    var url = '<?php echo $this->baseUrl; ?>'; 
</script>

